using Fungus;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class 迷宫通向现实 : MonoBehaviour
{
    public bool 成功通往现实;
    public string Chatname;
    // Start is called before the first frame update
    private void OnTriggerEnter(Collider other)
    {
        Invoke("前往现实", 4f);
        成功通往现实 = true;
        Flowchart flowchart3 = GameObject.Find("Flowchart3").GetComponent<Flowchart>();
        flowchart3.ExecuteBlock(Chatname);
    }
    private void Update()
    {
       
    }
    void 前往现实()
    {
        SceneManager.LoadScene("School_Hallway01");
    }
}
